<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的评价</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="stylesheet" href="../layui/css/layui.css">
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/CSS.css">
    <script src="../js/jquery-3.3.1.js"></script>
    <script src="../layui/layui.all.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="../js/JS.js"></script>
</head>
<body style="background: #f5f5f5">
<header>
    <a href="javascript:history.back(-1)" class="back"><img src="../img/back.png" height="18px"></a>
    <div class="center title">我的评价</div>
</header>
<ul class="my_evaluation">
    <li class="clearfix">
        <span class="fl"><img src="../img/logo.png" alt=""></span>
        <span class="fl">清风明月</span>
    </li>
    <li style="font-size: 10px">2019-5-28</li>
    <li>123</li>
    <li class="clearfix">
        <span class="fl"><img src="../img/logo.png" alt=""></span>
        <span class="fl">
            <p>123</p>
            <p class="star"></p>
        </span>
    </li>
</ul>
</body>
</html>
<script>
    layui.use(['rate'], function(){
        var rate = layui.rate;
        rate.render({
            elem: '.star',
            value: 5.0,
            half: true,
            text: true,
            readonly: true,
            setText: function(value){
                this.span.text(value+'分');
            }
        });

    });
</script>
